package com.chazz.entity;

import java.io.Serializable;

/**
 * 购物车表，用户购物车信息(Shoppingcar)实体类
 *
 * @author makejava
 * @since 2020-09-21 14:13:51
 */
public class Shoppingcar implements Serializable {

//    private static final long serialVersionUID = 571823823945565442L;
    /**
     * 购物车id
     */
    private Integer id;
    /**
     * 用户id，外键
     */
    private Integer uid;
    /**
     * 商品输数量
     */
    private Integer cunt;
    /**
     * 商品总价
     */
    private String tatolprice;
    public Shoppingcar(){}
    public Shoppingcar(Integer id, Integer uid, Integer cunt, String tatolprice) {
        this.id = id;
        this.uid = uid;
        this.cunt = cunt;
        this.tatolprice = tatolprice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCunt() {
        return cunt;
    }

    public void setCunt(Integer cunt) {
        this.cunt = cunt;
    }

    public String getTatolprice() {
        return tatolprice;
    }

    public void setTatolprice(String tatolprice) {
        this.tatolprice = tatolprice;
    }

}